/*
 * @Author: 生俊甫 1758142861@qq.com
 * @Date: 2024-06-16 14:09:13
 * @LastEditors: 生俊甫 1758142861@qq.com
 * @LastEditTime: 2024-06-17 16:45:22
 * @FilePath: /sjf/2024-project/html_24/test/server_test.cpp
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#include <iostream>
#include "../source/session.hpp"
#include "../source/user.hpp"
#include "../source/util.hpp"
#include "../db/db.hpp"
#include "../log/logger.hpp"
#include "../server/server.hpp"

const std::string host = "localhost";//IP
const std::string user = "root";//用户名
const std::string passwd = "123456";//密码
const std::string db = "html_t";//连接对应数据库
const unsigned int port = 3306;//数据库服务端口号

int main()
{
    gobang_server server(host,user,passwd,db,port);
    server.start(8085);
    return 0;
}